#!/bin/bash
workdir=$(cd $(dirname $0); pwd)
echo 'make now...'
cd $workdir
mkdir -p bin
cmake .
make
mv ./medis ./bin